Hệ thống quản lý phòng khám trực tuyến bằng PHP

1 <?php
2     $currDir = dirname(__FILE__);
3     include(
"{$currDir}/defaultLang.php");
4     include(
"{$currDir}/language.php");
5     include(
"{$currDir}/lib.php");
6     include_once(
"{$currDir}/header.php");
7
8     $current_user = isset($_REQUEST[
'currentUser']) ? $_REQUEST['currentUser'] : false;
9     $username = is_allowed_username($_REQUEST[
'memberID'], $current_user);
10 ?>
11
12 <style>
13     nav, .hidden-print{ display: none; }
14 </style>
15
16 <div style=
"height: 1em;"></div>
17 <?php
if($username){ ?>
18     <div
class="alert alert-success">
19         <i
class="glyphicon glyphicon-ok"></i>
20         <?php echo str_replace(
'<MemberID>', "<b>{$username}</b>", $Translation['user available']); ?>
21         <!-- AVAILABLE -->
22     </div>
23 <?php }
else{ ?>
24     <div
class="alert alert-danger">
25         <i
class="glyphicon glyphicon-warning-sign"></i>
26         <?php echo str_replace(
'<MemberID>', '<b>' . html_attr($_REQUEST['memberID']) . '</b>', $Translation['username invalid']); ?>
27         <!-- NOT AVAILABLE -->
28     </div>
29 <?php } ?>
30
31 <div
class="text-center">
32     <input type=
"button" value="Close" onClick="window.close();" autofocus class="btn btn-default btn-lg">
33 </div>
34
35 <?php include_once(
"{$currDir}/footer.php"); ?>


Gõ tìm kiếm nhanh...